import graphics.AbstractNumberButtonPanel;
import graphics.NumberButton;

import java.awt.Dimension;
import java.awt.GridLayout;
import java.io.IOException;

import javax.swing.JFrame;
import javax.swing.JPanel;


public class TestMain {

	/**
	 * @param args
	 * @throws IOException 
	 */
	public static void main(String[] args) throws IOException {
		JFrame frm = new JFrame("Test");
		frm.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		JPanel panel = new AbstractNumberButtonPanel(new Dimension(600, 100)) {
			public void numberPressed(int no) {
				System.out.println("Number pressed "+no);
			}
		};
		frm.getContentPane().add(panel);
		frm.pack();
		frm.setVisible(true);
	}

}
